package com.web.exiaodao.business.entity;

import com.web.exiaodao.business.constant.JConstant;
import com.web.webstart.base.entity.BaseEntity;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 
* @ClassName: returnshoprecord 
* @Description: 退货记录定义表定义表
* @author eason
* @date 2017-01-22 13:32:17
*
 */
@Entity
@Table(name = "tb_xa_returnshoprecord")
@ApiModel(value="退货记录定义表定义表")
public class Returnshoprecord extends BaseEntity{

	private static final long serialVersionUID = 1L;
	
	@ApiModelProperty(value="订单编号,订单编号")
	private String orderNo;
	@ApiModelProperty(value="退货类型,退货原因（0：仅退款  1:退货）")
	private Integer type;
	@ApiModelProperty(value="退货原因,reason")
	private String reason;
	@ApiModelProperty(value="退货图片,退货图片")
	private String imgs;
	/**
	 * @see Order 审核状态 refundStatus
	 * @see JConstant.OrderRefundStatus
	 */
	@ApiModelProperty(value="审核意见,审核意见")
	private String auditAdvice;
	@ApiModelProperty(value="审核时间,审核时间")
	private String auditTime;
	@ApiModelProperty(value="审核人,auditor")
	private String auditor;
		
	public void setOrderNo(String orderNo){
		this.orderNo=orderNo;
	}
	
	@Column(nullable=true,length=50)
	public String getOrderNo(){
		return orderNo;
	}
	public void setType(Integer type){
		this.type=type;
	}
	
	@Column(nullable=true,length=50)
	public Integer getType(){
		return type;
	}
	public void setReason(String reason){
		this.reason=reason;
	}
	
	@Column(nullable=true,length=500)
	public String getReason(){
		return reason;
	}
	public void setImgs(String imgs){
		this.imgs=imgs;
	}
	
	@Column(nullable=true,length=5000)
	public String getImgs(){
		return imgs;
	}

	public void setAuditAdvice(String auditAdvice) {
		this.auditAdvice = auditAdvice;
	}
	
	@Column(nullable=true,length=500)
	public String getAuditAdvice(){
		return auditAdvice;
	}
	public void setAuditTime(String auditTime){
		this.auditTime=auditTime;
	}
	
	@Column(nullable=true,length=50)
	public String getAuditTime(){
		return auditTime;
	}
	public void setAuditor(String auditor){
		this.auditor=auditor;
	}
	
	@Column(nullable=true,length=50)
	public String getAuditor(){
		return auditor;
	}
}
